package com.example.demo.domain;

import lombok.Data;
import lombok.RequiredArgsConstructor;

@Data
@RequiredArgsConstructor
public class ResponseBody<T> {

    /**
     * 响应是否成功
     */
    private Boolean success;

    /**
     * 响应结果
     */
    private T data;

    /**
     * 响应信息
     */
    private String message;

}
